package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
@author chengqiang
@Create 2024-03-04-18:59
@Description:
*/
@ApiModel(description="user_login_data")
@Data
@TableName(value = "user_login_data")
public class UserLoginData {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="用户id")
    private Integer userId;

    /**
     * 上次登录时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value="上次登录时间")
    private Date createDate;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_CREATE_DATE = "create_date";
}